package com.campusify.mapper;

import com.campusify.pojo.Rewardtask;
import com.campusify.pojo.RewardtaskExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface RewardtaskMapper {
    long countByExample(RewardtaskExample example);

    int deleteByExample(RewardtaskExample example);

    int deleteByPrimaryKey(Integer taskid);

    int insert(Rewardtask record);

    int insertSelective(Rewardtask record);

    List<Rewardtask> selectByExample(RewardtaskExample example);

    Rewardtask selectByPrimaryKey(Integer taskid);

    int updateByExampleSelective(@Param("record") Rewardtask record, @Param("example") RewardtaskExample example);

    int updateByExample(@Param("record") Rewardtask record, @Param("example") RewardtaskExample example);

    int updateByPrimaryKeySelective(Rewardtask record);

    int updateByPrimaryKey(Rewardtask record);
}